package com.wzbc.video.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wzbc.video.entity.Chapter;
import com.wzbc.video.req.ChapterDownReq;
import com.wzbc.video.req.ChapterReq;
import com.wzbc.video.req.IdReq;
import com.wzbc.video.req.SearchReq;
import com.wzbc.video.res.ChapterFileRes;

import java.util.List;

public interface ChapterService extends IService<Chapter> {
    List<Chapter> getChapter(ChapterReq req);
    List<Chapter> getChapterDown(ChapterDownReq req);
    ChapterFileRes getChapterOne(Long id);
    Integer deleteById(Long chapterId);
    Integer insert(Chapter chapter);
}
